package top.yxqz.spring.ioc.pojo;

import java.util.Map;

/**
 * @author: 余小小
 * @date: 2023/4/7
 * @description：SUV类
 */
public class SUV {
    private String brand;//品牌
    private Map<String, Car> carMap;//车

    public SUV() {
    }

    public SUV(String brand, Map<String, Car> carMap) {
        this.brand = brand;
        this.carMap = carMap;
    }

    /**
     * 获取
     *
     * @return brand
     */
    public String getBrand() {
        return brand;
    }

    /**
     * 设置
     *
     * @param brand
     */
    public void setBrand(String brand) {
        this.brand = brand;
    }

    /**
     * 获取
     *
     * @return carMap
     */
    public Map<String, Car> getCarMap() {
        return carMap;
    }

    /**
     * 设置
     *
     * @param carMap
     */
    public void setCarMap(Map<String, Car> carMap) {
        this.carMap = carMap;
    }

    public String toString() {
        return "SUV{brand = " + brand + ", carMap = " + carMap + "}";
    }
}
